]> dgit.raspbian.org Git - gnome-shell.git/commit
boxpointer: Fix positioning with non-widget sources
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Sep 2021 18:37:13 +0000 (20:37 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 1 Sep 2021 20:22:58 +0000 (20:22 +0000)
commit0fd205ce54ccae0129cb2f3a4f8f92d842fe0d51
tree3a8891f805fd1383fe737d61f400e89d3ab2d850
parentbc09c1ca24daa52a32d2ed09c0a6498a8b144188
boxpointer: Fix positioning with non-widget sources

Commit 16d371873 lifted the requirement for source actors to be
widgets, then got it wrong :rolling_eyes:

The content box is expected to be in actor coordinates, so the
allocation must be translated to (0, 0).

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4593

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1969>
js/ui/boxpointer.js